package com.xgk.boot.module.core.dal.entity.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yfbao
 * @since 2025-06-14
 */
@Data
@TableName("country")
public class CountryDO implements Serializable {

    @TableId(value = "country_id", type = IdType.ASSIGN_ID)
    private Long countryId;

    @TableField(value = "country_name")
    private String countryName;

    @TableField(value = "country_name_en")
    private String countryNameEn;
    @TableField(value = "country_local_name")
    private String countryLocalName;
    @TableField(value = "country_alias")
    private String countryAlias;
    @TableField(value = "country_code")
    private String countryCode;
    @TableField(value = "country_code_iso")
    private String countryCodeIso;
    @TableField(value = "country_num")
    private String countryNum;
    @TableField(value = "country_sort")
    private Integer countrySort;
    @TableField(value = "country_short_name")
    private String countryShortName;
    @TableField(value = "trade_country")
    private String tradeCountry;


    @Override
    public String toString() {
        return "Country{" +
        ", countryId = " + countryId +
        ", countryName = " + countryName +
        ", countryNameEn = " + countryNameEn +
        ", countryLocalName = " + countryLocalName +
        ", countryAlias = " + countryAlias +
        ", countryCode = " + countryCode +
        ", countryCodeIso = " + countryCodeIso +
        ", countryNum = " + countryNum +
        ", countrySort = " + countrySort +
        ", countryShortName = " + countryShortName +
        ", tradeCountry = " + tradeCountry +
        "}";
    }
}
